es-fid-common-b2b-xapi

(0 reviews)

Telepets - Validations

Validations


  • Policy Number:
    • Mandatory
    • Length = 10
      • Has to start with "46"
      • The other "8" digits converted to an integer must be migger than 0
        • Example: Cannot be 4600000000
  • GuaranteeType:
    • Mandatory
    • Length = 3
    • Includes guarantees and sub-guarantees
    • If any of the sub-guarantees are used, must override the guarantee in the value of this attribute
      • Example: if we use the sub-guarantee > Orientaci贸n Veterinaria (web/chat) (610) that will be associated to Telepet guarantee (600), therefore the attribute should be "GuaranteeType: '610'
    • Must be one of the following values (bold):

Guarantees

  1. Telepet: 600
  2. Pet assitencia: 700

Sub-guarantees

  1. Orientaci贸n Veterinaria (web/chat): 610
  2. Env铆o veterinario: 710
  3. Env铆o Medicamentos: 720
  4. Regreso anticipado tomador: 730
  5. Transporte de urgencia: 740
  6. Organizaci贸n servicio funerario: 750
  7. Consulta Petfriendly: 760

  • PetFriendlyType:
    • Mandatory, only if guaranteeType= /760 (Consulta Petfriendly)
    • Must not have any value, if guranteeType is not 760
    • Must be one of the values bellow

Consulta PetFriendly:

  • Hoteles
  • Residencias Caninas
  • Camping
  • Protectoras
  • Peluquer铆a canina
  • Cuidadores Paseadores
  • Playas
  • Restaurantes
  • Comidas
  • Apps y Webfriendly
  • Terapias para mascotas
  • Agility
  • Otros

  • TelepetServiceType:
    • Mandatory only if the guaranteeType equals to 610(Orientaci贸n Veterinaria (web/chat))
    • Must not have any value, if the guaranteeType does not equal to 610
    • Must be one of the following values:
Consulta Telepet
  1. Llamada telefonica
  2. Chat Web y App
  3. Video consulta veterinario Web y App
  4. OccurenceDate

    • Mandatory
    • Format: yyyy-mm-dd
  5. Situation

    • Mandatory
    • Must be one of the following values:
      • 1 | Abierto
      • 3 | En curso
      • 5 | Cerrado
      • 6 | Reapertura
      • 7 | Rechazo en apertura
      • 8 | Rechazado en confirmaci贸n
      • 9 | Cierro contable

Optional fields

  • PhoneNumber
  • Only digits and maximum 9 digits
  • ClaimDescription
  • Maximum 200 characters
  • Comments
  • Maximum 500 characters

IMPORTANT


The HTTP 400 - Bad request response will be delivered if any of the following validations fails

Reviews